package cn.smart.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class FgroupExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FgroupExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andFgidIsNull() {
            addCriterion("fgId is null");
            return (Criteria) this;
        }

        public Criteria andFgidIsNotNull() {
            addCriterion("fgId is not null");
            return (Criteria) this;
        }

        public Criteria andFgidEqualTo(Integer value) {
            addCriterion("fgId =", value, "fgid");
            return (Criteria) this;
        }

        public Criteria andFgidNotEqualTo(Integer value) {
            addCriterion("fgId <>", value, "fgid");
            return (Criteria) this;
        }

        public Criteria andFgidGreaterThan(Integer value) {
            addCriterion("fgId >", value, "fgid");
            return (Criteria) this;
        }

        public Criteria andFgidGreaterThanOrEqualTo(Integer value) {
            addCriterion("fgId >=", value, "fgid");
            return (Criteria) this;
        }

        public Criteria andFgidLessThan(Integer value) {
            addCriterion("fgId <", value, "fgid");
            return (Criteria) this;
        }

        public Criteria andFgidLessThanOrEqualTo(Integer value) {
            addCriterion("fgId <=", value, "fgid");
            return (Criteria) this;
        }

        public Criteria andFgidIn(List<Integer> values) {
            addCriterion("fgId in", values, "fgid");
            return (Criteria) this;
        }

        public Criteria andFgidNotIn(List<Integer> values) {
            addCriterion("fgId not in", values, "fgid");
            return (Criteria) this;
        }

        public Criteria andFgidBetween(Integer value1, Integer value2) {
            addCriterion("fgId between", value1, value2, "fgid");
            return (Criteria) this;
        }

        public Criteria andFgidNotBetween(Integer value1, Integer value2) {
            addCriterion("fgId not between", value1, value2, "fgid");
            return (Criteria) this;
        }

        public Criteria andFgnumberIsNull() {
            addCriterion("fgNumber is null");
            return (Criteria) this;
        }

        public Criteria andFgnumberIsNotNull() {
            addCriterion("fgNumber is not null");
            return (Criteria) this;
        }

        public Criteria andFgnumberEqualTo(Integer value) {
            addCriterion("fgNumber =", value, "fgnumber");
            return (Criteria) this;
        }

        public Criteria andFgnumberNotEqualTo(Integer value) {
            addCriterion("fgNumber <>", value, "fgnumber");
            return (Criteria) this;
        }

        public Criteria andFgnumberGreaterThan(Integer value) {
            addCriterion("fgNumber >", value, "fgnumber");
            return (Criteria) this;
        }

        public Criteria andFgnumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("fgNumber >=", value, "fgnumber");
            return (Criteria) this;
        }

        public Criteria andFgnumberLessThan(Integer value) {
            addCriterion("fgNumber <", value, "fgnumber");
            return (Criteria) this;
        }

        public Criteria andFgnumberLessThanOrEqualTo(Integer value) {
            addCriterion("fgNumber <=", value, "fgnumber");
            return (Criteria) this;
        }

        public Criteria andFgnumberIn(List<Integer> values) {
            addCriterion("fgNumber in", values, "fgnumber");
            return (Criteria) this;
        }

        public Criteria andFgnumberNotIn(List<Integer> values) {
            addCriterion("fgNumber not in", values, "fgnumber");
            return (Criteria) this;
        }

        public Criteria andFgnumberBetween(Integer value1, Integer value2) {
            addCriterion("fgNumber between", value1, value2, "fgnumber");
            return (Criteria) this;
        }

        public Criteria andFgnumberNotBetween(Integer value1, Integer value2) {
            addCriterion("fgNumber not between", value1, value2, "fgnumber");
            return (Criteria) this;
        }

        public Criteria andFgnicknameIsNull() {
            addCriterion("fgNickName is null");
            return (Criteria) this;
        }

        public Criteria andFgnicknameIsNotNull() {
            addCriterion("fgNickName is not null");
            return (Criteria) this;
        }

        public Criteria andFgnicknameEqualTo(String value) {
            addCriterion("fgNickName =", value, "fgnickname");
            return (Criteria) this;
        }

        public Criteria andFgnicknameNotEqualTo(String value) {
            addCriterion("fgNickName <>", value, "fgnickname");
            return (Criteria) this;
        }

        public Criteria andFgnicknameGreaterThan(String value) {
            addCriterion("fgNickName >", value, "fgnickname");
            return (Criteria) this;
        }

        public Criteria andFgnicknameGreaterThanOrEqualTo(String value) {
            addCriterion("fgNickName >=", value, "fgnickname");
            return (Criteria) this;
        }

        public Criteria andFgnicknameLessThan(String value) {
            addCriterion("fgNickName <", value, "fgnickname");
            return (Criteria) this;
        }

        public Criteria andFgnicknameLessThanOrEqualTo(String value) {
            addCriterion("fgNickName <=", value, "fgnickname");
            return (Criteria) this;
        }

        public Criteria andFgnicknameLike(String value) {
            addCriterion("fgNickName like", value, "fgnickname");
            return (Criteria) this;
        }

        public Criteria andFgnicknameNotLike(String value) {
            addCriterion("fgNickName not like", value, "fgnickname");
            return (Criteria) this;
        }

        public Criteria andFgnicknameIn(List<String> values) {
            addCriterion("fgNickName in", values, "fgnickname");
            return (Criteria) this;
        }

        public Criteria andFgnicknameNotIn(List<String> values) {
            addCriterion("fgNickName not in", values, "fgnickname");
            return (Criteria) this;
        }

        public Criteria andFgnicknameBetween(String value1, String value2) {
            addCriterion("fgNickName between", value1, value2, "fgnickname");
            return (Criteria) this;
        }

        public Criteria andFgnicknameNotBetween(String value1, String value2) {
            addCriterion("fgNickName not between", value1, value2, "fgnickname");
            return (Criteria) this;
        }

        public Criteria andFgtypeIsNull() {
            addCriterion("fgType is null");
            return (Criteria) this;
        }

        public Criteria andFgtypeIsNotNull() {
            addCriterion("fgType is not null");
            return (Criteria) this;
        }

        public Criteria andFgtypeEqualTo(Integer value) {
            addCriterion("fgType =", value, "fgtype");
            return (Criteria) this;
        }

        public Criteria andFgtypeNotEqualTo(Integer value) {
            addCriterion("fgType <>", value, "fgtype");
            return (Criteria) this;
        }

        public Criteria andFgtypeGreaterThan(Integer value) {
            addCriterion("fgType >", value, "fgtype");
            return (Criteria) this;
        }

        public Criteria andFgtypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("fgType >=", value, "fgtype");
            return (Criteria) this;
        }

        public Criteria andFgtypeLessThan(Integer value) {
            addCriterion("fgType <", value, "fgtype");
            return (Criteria) this;
        }

        public Criteria andFgtypeLessThanOrEqualTo(Integer value) {
            addCriterion("fgType <=", value, "fgtype");
            return (Criteria) this;
        }

        public Criteria andFgtypeIn(List<Integer> values) {
            addCriterion("fgType in", values, "fgtype");
            return (Criteria) this;
        }

        public Criteria andFgtypeNotIn(List<Integer> values) {
            addCriterion("fgType not in", values, "fgtype");
            return (Criteria) this;
        }

        public Criteria andFgtypeBetween(Integer value1, Integer value2) {
            addCriterion("fgType between", value1, value2, "fgtype");
            return (Criteria) this;
        }

        public Criteria andFgtypeNotBetween(Integer value1, Integer value2) {
            addCriterion("fgType not between", value1, value2, "fgtype");
            return (Criteria) this;
        }

        public Criteria andFgsoildrynessIsNull() {
            addCriterion("fgSoilDryness is null");
            return (Criteria) this;
        }

        public Criteria andFgsoildrynessIsNotNull() {
            addCriterion("fgSoilDryness is not null");
            return (Criteria) this;
        }

        public Criteria andFgsoildrynessEqualTo(Integer value) {
            addCriterion("fgSoilDryness =", value, "fgsoildryness");
            return (Criteria) this;
        }

        public Criteria andFgsoildrynessNotEqualTo(Integer value) {
            addCriterion("fgSoilDryness <>", value, "fgsoildryness");
            return (Criteria) this;
        }

        public Criteria andFgsoildrynessGreaterThan(Integer value) {
            addCriterion("fgSoilDryness >", value, "fgsoildryness");
            return (Criteria) this;
        }

        public Criteria andFgsoildrynessGreaterThanOrEqualTo(Integer value) {
            addCriterion("fgSoilDryness >=", value, "fgsoildryness");
            return (Criteria) this;
        }

        public Criteria andFgsoildrynessLessThan(Integer value) {
            addCriterion("fgSoilDryness <", value, "fgsoildryness");
            return (Criteria) this;
        }

        public Criteria andFgsoildrynessLessThanOrEqualTo(Integer value) {
            addCriterion("fgSoilDryness <=", value, "fgsoildryness");
            return (Criteria) this;
        }

        public Criteria andFgsoildrynessIn(List<Integer> values) {
            addCriterion("fgSoilDryness in", values, "fgsoildryness");
            return (Criteria) this;
        }

        public Criteria andFgsoildrynessNotIn(List<Integer> values) {
            addCriterion("fgSoilDryness not in", values, "fgsoildryness");
            return (Criteria) this;
        }

        public Criteria andFgsoildrynessBetween(Integer value1, Integer value2) {
            addCriterion("fgSoilDryness between", value1, value2, "fgsoildryness");
            return (Criteria) this;
        }

        public Criteria andFgsoildrynessNotBetween(Integer value1, Integer value2) {
            addCriterion("fgSoilDryness not between", value1, value2, "fgsoildryness");
            return (Criteria) this;
        }

        public Criteria andFgtimeIsNull() {
            addCriterion("fgTime is null");
            return (Criteria) this;
        }

        public Criteria andFgtimeIsNotNull() {
            addCriterion("fgTime is not null");
            return (Criteria) this;
        }

        public Criteria andFgtimeEqualTo(Date value) {
            addCriterion("fgTime =", value, "fgtime");
            return (Criteria) this;
        }

        public Criteria andFgtimeNotEqualTo(Date value) {
            addCriterion("fgTime <>", value, "fgtime");
            return (Criteria) this;
        }

        public Criteria andFgtimeGreaterThan(Date value) {
            addCriterion("fgTime >", value, "fgtime");
            return (Criteria) this;
        }

        public Criteria andFgtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("fgTime >=", value, "fgtime");
            return (Criteria) this;
        }

        public Criteria andFgtimeLessThan(Date value) {
            addCriterion("fgTime <", value, "fgtime");
            return (Criteria) this;
        }

        public Criteria andFgtimeLessThanOrEqualTo(Date value) {
            addCriterion("fgTime <=", value, "fgtime");
            return (Criteria) this;
        }

        public Criteria andFgtimeIn(List<Date> values) {
            addCriterion("fgTime in", values, "fgtime");
            return (Criteria) this;
        }

        public Criteria andFgtimeNotIn(List<Date> values) {
            addCriterion("fgTime not in", values, "fgtime");
            return (Criteria) this;
        }

        public Criteria andFgtimeBetween(Date value1, Date value2) {
            addCriterion("fgTime between", value1, value2, "fgtime");
            return (Criteria) this;
        }

        public Criteria andFgtimeNotBetween(Date value1, Date value2) {
            addCriterion("fgTime not between", value1, value2, "fgtime");
            return (Criteria) this;
        }

        public Criteria andFgairhumidityIsNull() {
            addCriterion("fgAirHumidity is null");
            return (Criteria) this;
        }

        public Criteria andFgairhumidityIsNotNull() {
            addCriterion("fgAirHumidity is not null");
            return (Criteria) this;
        }

        public Criteria andFgairhumidityEqualTo(Integer value) {
            addCriterion("fgAirHumidity =", value, "fgairhumidity");
            return (Criteria) this;
        }

        public Criteria andFgairhumidityNotEqualTo(Integer value) {
            addCriterion("fgAirHumidity <>", value, "fgairhumidity");
            return (Criteria) this;
        }

        public Criteria andFgairhumidityGreaterThan(Integer value) {
            addCriterion("fgAirHumidity >", value, "fgairhumidity");
            return (Criteria) this;
        }

        public Criteria andFgairhumidityGreaterThanOrEqualTo(Integer value) {
            addCriterion("fgAirHumidity >=", value, "fgairhumidity");
            return (Criteria) this;
        }

        public Criteria andFgairhumidityLessThan(Integer value) {
            addCriterion("fgAirHumidity <", value, "fgairhumidity");
            return (Criteria) this;
        }

        public Criteria andFgairhumidityLessThanOrEqualTo(Integer value) {
            addCriterion("fgAirHumidity <=", value, "fgairhumidity");
            return (Criteria) this;
        }

        public Criteria andFgairhumidityIn(List<Integer> values) {
            addCriterion("fgAirHumidity in", values, "fgairhumidity");
            return (Criteria) this;
        }

        public Criteria andFgairhumidityNotIn(List<Integer> values) {
            addCriterion("fgAirHumidity not in", values, "fgairhumidity");
            return (Criteria) this;
        }

        public Criteria andFgairhumidityBetween(Integer value1, Integer value2) {
            addCriterion("fgAirHumidity between", value1, value2, "fgairhumidity");
            return (Criteria) this;
        }

        public Criteria andFgairhumidityNotBetween(Integer value1, Integer value2) {
            addCriterion("fgAirHumidity not between", value1, value2, "fgairhumidity");
            return (Criteria) this;
        }

        public Criteria andFgairtemperatureIsNull() {
            addCriterion("fgAirTemperature is null");
            return (Criteria) this;
        }

        public Criteria andFgairtemperatureIsNotNull() {
            addCriterion("fgAirTemperature is not null");
            return (Criteria) this;
        }

        public Criteria andFgairtemperatureEqualTo(Integer value) {
            addCriterion("fgAirTemperature =", value, "fgairtemperature");
            return (Criteria) this;
        }

        public Criteria andFgairtemperatureNotEqualTo(Integer value) {
            addCriterion("fgAirTemperature <>", value, "fgairtemperature");
            return (Criteria) this;
        }

        public Criteria andFgairtemperatureGreaterThan(Integer value) {
            addCriterion("fgAirTemperature >", value, "fgairtemperature");
            return (Criteria) this;
        }

        public Criteria andFgairtemperatureGreaterThanOrEqualTo(Integer value) {
            addCriterion("fgAirTemperature >=", value, "fgairtemperature");
            return (Criteria) this;
        }

        public Criteria andFgairtemperatureLessThan(Integer value) {
            addCriterion("fgAirTemperature <", value, "fgairtemperature");
            return (Criteria) this;
        }

        public Criteria andFgairtemperatureLessThanOrEqualTo(Integer value) {
            addCriterion("fgAirTemperature <=", value, "fgairtemperature");
            return (Criteria) this;
        }

        public Criteria andFgairtemperatureIn(List<Integer> values) {
            addCriterion("fgAirTemperature in", values, "fgairtemperature");
            return (Criteria) this;
        }

        public Criteria andFgairtemperatureNotIn(List<Integer> values) {
            addCriterion("fgAirTemperature not in", values, "fgairtemperature");
            return (Criteria) this;
        }

        public Criteria andFgairtemperatureBetween(Integer value1, Integer value2) {
            addCriterion("fgAirTemperature between", value1, value2, "fgairtemperature");
            return (Criteria) this;
        }

        public Criteria andFgairtemperatureNotBetween(Integer value1, Integer value2) {
            addCriterion("fgAirTemperature not between", value1, value2, "fgairtemperature");
            return (Criteria) this;
        }

        public Criteria andFgdroptimecellIsNull() {
            addCriterion("fgDropTimeCell is null");
            return (Criteria) this;
        }

        public Criteria andFgdroptimecellIsNotNull() {
            addCriterion("fgDropTimeCell is not null");
            return (Criteria) this;
        }

        public Criteria andFgdroptimecellEqualTo(Integer value) {
            addCriterion("fgDropTimeCell =", value, "fgdroptimecell");
            return (Criteria) this;
        }

        public Criteria andFgdroptimecellNotEqualTo(Integer value) {
            addCriterion("fgDropTimeCell <>", value, "fgdroptimecell");
            return (Criteria) this;
        }

        public Criteria andFgdroptimecellGreaterThan(Integer value) {
            addCriterion("fgDropTimeCell >", value, "fgdroptimecell");
            return (Criteria) this;
        }

        public Criteria andFgdroptimecellGreaterThanOrEqualTo(Integer value) {
            addCriterion("fgDropTimeCell >=", value, "fgdroptimecell");
            return (Criteria) this;
        }

        public Criteria andFgdroptimecellLessThan(Integer value) {
            addCriterion("fgDropTimeCell <", value, "fgdroptimecell");
            return (Criteria) this;
        }

        public Criteria andFgdroptimecellLessThanOrEqualTo(Integer value) {
            addCriterion("fgDropTimeCell <=", value, "fgdroptimecell");
            return (Criteria) this;
        }

        public Criteria andFgdroptimecellIn(List<Integer> values) {
            addCriterion("fgDropTimeCell in", values, "fgdroptimecell");
            return (Criteria) this;
        }

        public Criteria andFgdroptimecellNotIn(List<Integer> values) {
            addCriterion("fgDropTimeCell not in", values, "fgdroptimecell");
            return (Criteria) this;
        }

        public Criteria andFgdroptimecellBetween(Integer value1, Integer value2) {
            addCriterion("fgDropTimeCell between", value1, value2, "fgdroptimecell");
            return (Criteria) this;
        }

        public Criteria andFgdroptimecellNotBetween(Integer value1, Integer value2) {
            addCriterion("fgDropTimeCell not between", value1, value2, "fgdroptimecell");
            return (Criteria) this;
        }

        public Criteria andFgspraytimecellIsNull() {
            addCriterion("fgSprayTimeCell is null");
            return (Criteria) this;
        }

        public Criteria andFgspraytimecellIsNotNull() {
            addCriterion("fgSprayTimeCell is not null");
            return (Criteria) this;
        }

        public Criteria andFgspraytimecellEqualTo(Integer value) {
            addCriterion("fgSprayTimeCell =", value, "fgspraytimecell");
            return (Criteria) this;
        }

        public Criteria andFgspraytimecellNotEqualTo(Integer value) {
            addCriterion("fgSprayTimeCell <>", value, "fgspraytimecell");
            return (Criteria) this;
        }

        public Criteria andFgspraytimecellGreaterThan(Integer value) {
            addCriterion("fgSprayTimeCell >", value, "fgspraytimecell");
            return (Criteria) this;
        }

        public Criteria andFgspraytimecellGreaterThanOrEqualTo(Integer value) {
            addCriterion("fgSprayTimeCell >=", value, "fgspraytimecell");
            return (Criteria) this;
        }

        public Criteria andFgspraytimecellLessThan(Integer value) {
            addCriterion("fgSprayTimeCell <", value, "fgspraytimecell");
            return (Criteria) this;
        }

        public Criteria andFgspraytimecellLessThanOrEqualTo(Integer value) {
            addCriterion("fgSprayTimeCell <=", value, "fgspraytimecell");
            return (Criteria) this;
        }

        public Criteria andFgspraytimecellIn(List<Integer> values) {
            addCriterion("fgSprayTimeCell in", values, "fgspraytimecell");
            return (Criteria) this;
        }

        public Criteria andFgspraytimecellNotIn(List<Integer> values) {
            addCriterion("fgSprayTimeCell not in", values, "fgspraytimecell");
            return (Criteria) this;
        }

        public Criteria andFgspraytimecellBetween(Integer value1, Integer value2) {
            addCriterion("fgSprayTimeCell between", value1, value2, "fgspraytimecell");
            return (Criteria) this;
        }

        public Criteria andFgspraytimecellNotBetween(Integer value1, Integer value2) {
            addCriterion("fgSprayTimeCell not between", value1, value2, "fgspraytimecell");
            return (Criteria) this;
        }

        public Criteria andFgdroptimespanIsNull() {
            addCriterion("fgDropTimeSpan is null");
            return (Criteria) this;
        }

        public Criteria andFgdroptimespanIsNotNull() {
            addCriterion("fgDropTimeSpan is not null");
            return (Criteria) this;
        }

        public Criteria andFgdroptimespanEqualTo(Integer value) {
            addCriterion("fgDropTimeSpan =", value, "fgdroptimespan");
            return (Criteria) this;
        }

        public Criteria andFgdroptimespanNotEqualTo(Integer value) {
            addCriterion("fgDropTimeSpan <>", value, "fgdroptimespan");
            return (Criteria) this;
        }

        public Criteria andFgdroptimespanGreaterThan(Integer value) {
            addCriterion("fgDropTimeSpan >", value, "fgdroptimespan");
            return (Criteria) this;
        }

        public Criteria andFgdroptimespanGreaterThanOrEqualTo(Integer value) {
            addCriterion("fgDropTimeSpan >=", value, "fgdroptimespan");
            return (Criteria) this;
        }

        public Criteria andFgdroptimespanLessThan(Integer value) {
            addCriterion("fgDropTimeSpan <", value, "fgdroptimespan");
            return (Criteria) this;
        }

        public Criteria andFgdroptimespanLessThanOrEqualTo(Integer value) {
            addCriterion("fgDropTimeSpan <=", value, "fgdroptimespan");
            return (Criteria) this;
        }

        public Criteria andFgdroptimespanIn(List<Integer> values) {
            addCriterion("fgDropTimeSpan in", values, "fgdroptimespan");
            return (Criteria) this;
        }

        public Criteria andFgdroptimespanNotIn(List<Integer> values) {
            addCriterion("fgDropTimeSpan not in", values, "fgdroptimespan");
            return (Criteria) this;
        }

        public Criteria andFgdroptimespanBetween(Integer value1, Integer value2) {
            addCriterion("fgDropTimeSpan between", value1, value2, "fgdroptimespan");
            return (Criteria) this;
        }

        public Criteria andFgdroptimespanNotBetween(Integer value1, Integer value2) {
            addCriterion("fgDropTimeSpan not between", value1, value2, "fgdroptimespan");
            return (Criteria) this;
        }

        public Criteria andFgspraytimespanIsNull() {
            addCriterion("fgSprayTimeSpan is null");
            return (Criteria) this;
        }

        public Criteria andFgspraytimespanIsNotNull() {
            addCriterion("fgSprayTimeSpan is not null");
            return (Criteria) this;
        }

        public Criteria andFgspraytimespanEqualTo(Integer value) {
            addCriterion("fgSprayTimeSpan =", value, "fgspraytimespan");
            return (Criteria) this;
        }

        public Criteria andFgspraytimespanNotEqualTo(Integer value) {
            addCriterion("fgSprayTimeSpan <>", value, "fgspraytimespan");
            return (Criteria) this;
        }

        public Criteria andFgspraytimespanGreaterThan(Integer value) {
            addCriterion("fgSprayTimeSpan >", value, "fgspraytimespan");
            return (Criteria) this;
        }

        public Criteria andFgspraytimespanGreaterThanOrEqualTo(Integer value) {
            addCriterion("fgSprayTimeSpan >=", value, "fgspraytimespan");
            return (Criteria) this;
        }

        public Criteria andFgspraytimespanLessThan(Integer value) {
            addCriterion("fgSprayTimeSpan <", value, "fgspraytimespan");
            return (Criteria) this;
        }

        public Criteria andFgspraytimespanLessThanOrEqualTo(Integer value) {
            addCriterion("fgSprayTimeSpan <=", value, "fgspraytimespan");
            return (Criteria) this;
        }

        public Criteria andFgspraytimespanIn(List<Integer> values) {
            addCriterion("fgSprayTimeSpan in", values, "fgspraytimespan");
            return (Criteria) this;
        }

        public Criteria andFgspraytimespanNotIn(List<Integer> values) {
            addCriterion("fgSprayTimeSpan not in", values, "fgspraytimespan");
            return (Criteria) this;
        }

        public Criteria andFgspraytimespanBetween(Integer value1, Integer value2) {
            addCriterion("fgSprayTimeSpan between", value1, value2, "fgspraytimespan");
            return (Criteria) this;
        }

        public Criteria andFgspraytimespanNotBetween(Integer value1, Integer value2) {
            addCriterion("fgSprayTimeSpan not between", value1, value2, "fgspraytimespan");
            return (Criteria) this;
        }

        public Criteria andFgmodeIsNull() {
            addCriterion("fgMode is null");
            return (Criteria) this;
        }

        public Criteria andFgmodeIsNotNull() {
            addCriterion("fgMode is not null");
            return (Criteria) this;
        }

        public Criteria andFgmodeEqualTo(Integer value) {
            addCriterion("fgMode =", value, "fgmode");
            return (Criteria) this;
        }

        public Criteria andFgmodeNotEqualTo(Integer value) {
            addCriterion("fgMode <>", value, "fgmode");
            return (Criteria) this;
        }

        public Criteria andFgmodeGreaterThan(Integer value) {
            addCriterion("fgMode >", value, "fgmode");
            return (Criteria) this;
        }

        public Criteria andFgmodeGreaterThanOrEqualTo(Integer value) {
            addCriterion("fgMode >=", value, "fgmode");
            return (Criteria) this;
        }

        public Criteria andFgmodeLessThan(Integer value) {
            addCriterion("fgMode <", value, "fgmode");
            return (Criteria) this;
        }

        public Criteria andFgmodeLessThanOrEqualTo(Integer value) {
            addCriterion("fgMode <=", value, "fgmode");
            return (Criteria) this;
        }

        public Criteria andFgmodeIn(List<Integer> values) {
            addCriterion("fgMode in", values, "fgmode");
            return (Criteria) this;
        }

        public Criteria andFgmodeNotIn(List<Integer> values) {
            addCriterion("fgMode not in", values, "fgmode");
            return (Criteria) this;
        }

        public Criteria andFgmodeBetween(Integer value1, Integer value2) {
            addCriterion("fgMode between", value1, value2, "fgmode");
            return (Criteria) this;
        }

        public Criteria andFgmodeNotBetween(Integer value1, Integer value2) {
            addCriterion("fgMode not between", value1, value2, "fgmode");
            return (Criteria) this;
        }

        public Criteria andFggidIsNull() {
            addCriterion("fgGId is null");
            return (Criteria) this;
        }

        public Criteria andFggidIsNotNull() {
            addCriterion("fgGId is not null");
            return (Criteria) this;
        }

        public Criteria andFggidEqualTo(Integer value) {
            addCriterion("fgGId =", value, "fggid");
            return (Criteria) this;
        }

        public Criteria andFggidNotEqualTo(Integer value) {
            addCriterion("fgGId <>", value, "fggid");
            return (Criteria) this;
        }

        public Criteria andFggidGreaterThan(Integer value) {
            addCriterion("fgGId >", value, "fggid");
            return (Criteria) this;
        }

        public Criteria andFggidGreaterThanOrEqualTo(Integer value) {
            addCriterion("fgGId >=", value, "fggid");
            return (Criteria) this;
        }

        public Criteria andFggidLessThan(Integer value) {
            addCriterion("fgGId <", value, "fggid");
            return (Criteria) this;
        }

        public Criteria andFggidLessThanOrEqualTo(Integer value) {
            addCriterion("fgGId <=", value, "fggid");
            return (Criteria) this;
        }

        public Criteria andFggidIn(List<Integer> values) {
            addCriterion("fgGId in", values, "fggid");
            return (Criteria) this;
        }

        public Criteria andFggidNotIn(List<Integer> values) {
            addCriterion("fgGId not in", values, "fggid");
            return (Criteria) this;
        }

        public Criteria andFggidBetween(Integer value1, Integer value2) {
            addCriterion("fgGId between", value1, value2, "fggid");
            return (Criteria) this;
        }

        public Criteria andFggidNotBetween(Integer value1, Integer value2) {
            addCriterion("fgGId not between", value1, value2, "fggid");
            return (Criteria) this;
        }

        public Criteria andFgpicIsNull() {
            addCriterion("fgPic is null");
            return (Criteria) this;
        }

        public Criteria andFgpicIsNotNull() {
            addCriterion("fgPic is not null");
            return (Criteria) this;
        }

        public Criteria andFgpicEqualTo(String value) {
            addCriterion("fgPic =", value, "fgpic");
            return (Criteria) this;
        }

        public Criteria andFgpicNotEqualTo(String value) {
            addCriterion("fgPic <>", value, "fgpic");
            return (Criteria) this;
        }

        public Criteria andFgpicGreaterThan(String value) {
            addCriterion("fgPic >", value, "fgpic");
            return (Criteria) this;
        }

        public Criteria andFgpicGreaterThanOrEqualTo(String value) {
            addCriterion("fgPic >=", value, "fgpic");
            return (Criteria) this;
        }

        public Criteria andFgpicLessThan(String value) {
            addCriterion("fgPic <", value, "fgpic");
            return (Criteria) this;
        }

        public Criteria andFgpicLessThanOrEqualTo(String value) {
            addCriterion("fgPic <=", value, "fgpic");
            return (Criteria) this;
        }

        public Criteria andFgpicLike(String value) {
            addCriterion("fgPic like", value, "fgpic");
            return (Criteria) this;
        }

        public Criteria andFgpicNotLike(String value) {
            addCriterion("fgPic not like", value, "fgpic");
            return (Criteria) this;
        }

        public Criteria andFgpicIn(List<String> values) {
            addCriterion("fgPic in", values, "fgpic");
            return (Criteria) this;
        }

        public Criteria andFgpicNotIn(List<String> values) {
            addCriterion("fgPic not in", values, "fgpic");
            return (Criteria) this;
        }

        public Criteria andFgpicBetween(String value1, String value2) {
            addCriterion("fgPic between", value1, value2, "fgpic");
            return (Criteria) this;
        }

        public Criteria andFgpicNotBetween(String value1, String value2) {
            addCriterion("fgPic not between", value1, value2, "fgpic");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}